/*
package com.qiguliuxing.dts.service.seckill.constant;

*/
/**
 * 常量
 *
 * @category @author 1197673878@qq.com
 * @since 2020年3月16日 下午12:02:44
 *//*

public class CommonConstant {

    public interface RedisKey {


        String GOODS_STORE_BY_ID = "GOODS_STORE_BY_GOODS_ID_{0}";
        String GOODS_INFO_BY_ID = "GOODS_INFO_BY_GOODS_ID_{0}";

        // IP黑名单
        String IP_BLACK_LIST = "IP_BLACK_LIST";

        // 用户黑名单
        String USER_BLACK_LIST = "USER_BLACK_LIST";

        // 秒杀货品处理列表
        String SKILL_PRODUCT_HANDLE_LIST = "SKILL_HANDLE_LIST_PRODUCT_ID:{0}";

        // 秒杀货商品品处理列表
        String SKILL_GOOD_ID_HANDLE_LIST = "SKILL_HANDLE_LIST_GOOD_ID:{0}";

        // redis库存
        String REDIS_GOODS_STORE = "REDIS_GOODS_INFO_SECKILL_ID:{0}";

        // redis库存
        String REDIS_PRODUCT_STORE = "REDIS_GOODS_INFO_PRODUCT_ID:{0}";

        // redis占位成功下单token
        String SKILL_SUCCESS_TOKEN = "SKILL_SUCCESS_TOKEN_USERID:{0}_GOODID:{1}_PRODUCTID:{2}_";

        // 下单成功
        String ORDER_SUCCESS_TOKEN = "ORDER_SUCCESS_TOKEN_USERID:{0}_PRODUCT_ID:{1}_";

        // redis占位成功下单token前缀
        String SKILL_SUCCESS_TOKEN_PREFIX = "SKILL_SUCCESS_TOKEN_USERID";

        // 秒杀货品结束标志
        String SKILL_FINISH_PRODUCT_FLAG = "SKILL_FINISH_PRODUCT_FLAG_ID_:{0}";

        // 秒杀货品结束标志
        String SKILL_GLOBAL_FINISH_PRODUCT_FLAG = "SKILL_GLOBAL_FINISH_PRODUCT_FLAG_ID_:{0}";

        // 秒杀商品结束标志
        String SKILL_FINISH_GOOD_FLAG = "SKILL_FINISH_GOOD_FLAG_ID_:{0}";

        // 秒杀商品结束标志
        String SKILL_GLOBAL_FINISH_GOOD_FLAG = "SKILL_GLOBAL_FINISH_GOOD_FLAG_ID_:{0}";

        //秒杀批次
        String SKILL_BATCH_LIST = "SKILL_BATCH_LIST_DATEFLAG:{0}_BTACHID:{1}";

        //秒杀时间批次
        String BATCH_CONFIG_KEY = "BATCH_CONFIG_TIME_LIST";

        //秒杀当前时间key
        String CURR_CONFIG_KEY = "CURR_CONFIG_TIME";

        //秒杀商品用户关系
        String SKILL_GOODID_USER_ID = "SKILL_GOODID:{0}_USERID:{1}";

        // 商品参与秒杀数量
        String REDIS_GOODS_SKILLED_NUM_ID = "REDIS_GOODS_SKILLED_NUM_ID:{0}";

        // 货品参与秒杀数量
        String REDIS_PRODUCT_SKILLED_NUM_ID = "REDIS_PRODUCT_SKILLED_NUM_ID:{0}";

        // 商品参与秒杀数量
        String REDIS_GOODS_INIT_NUM_ID = "REDIS_GOODS_INIT_NUM_ID:{0}";

        // 货品参与秒杀数量
        String REDIS_PRODUCT_INIT_NUM_ID = "REDIS_PRODUCT_INIT_NUM_ID:{0}";

        // 已经token过期用户
        String TOKEN_EXPIRE_USER_ID = "TOKEN_EXPIRE_USER_ID:{0}_PRODUCT_ID:{1}";
    }

    public interface RedisKeyExpireSeconds {
        int GOODS_STORE_BY_ID = 3 * 24 * 60 * 60;
    }

    */
/**
     * token有效期，单位：毫秒
     *//*

    public static final long TOKEN_EFFECTIVE_MILLISECONDS = 30 * 60 * 1000L;
}
*/
